<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<title>中国刊网-发表文章</title>

<link href="css/space.css" rel="stylesheet" type="text/css">
<script type="text/javascript" charset="utf-8" src="ueditor/editor_config.js"></script>
<script type="text/javascript" charset="utf-8" src="ueditor/editor_all.js"></script>


<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/space.js"></script>

</head>
<body onload="category_find_all()">
	<div class="all">
		<div class="bodyge-left">
			<form id="articalForm" action="artical/artical_add" method="post" target="_top">
				<div class="bodyge-left-a1"><span class="font-b">发表文章</span></div>

				<table cellspacing="0px" class="fontStyle" style="margin-top:6px;">
					<tr class="warning">
						<td>
							<span class="category">请先选择类别</span>
							<span class="perWarning">请先选择期刊</span>
						</td>
					</tr>
					<!-- 下面中的id不要改 -->
					<tr>
						<td id="pp" width="660px">
							<div>选择期刊：
								<select name="category" id="category" onchange="find_bycategoryId()">
									<option value="0" selected>请选择类别---&nbsp;&nbsp;&nbsp;</option>
								</select>
								&nbsp;&nbsp;&nbsp;&nbsp;
								<select name="" id="periodical" onclick="find_new_1th()">
									<option value="0" selected>请选择期刊---&nbsp;&nbsp;&nbsp;</option>
								</select>
								&nbsp;&nbsp;&nbsp;&nbsp;
								<select name="artical.boardId" id="board" onchange="selectBoard()" onclick="idSelectPer()">
									<option value="0" selected>请选择版块---&nbsp;&nbsp;&nbsp;</option>
								</select>
							</div>
							<input type="hidden" name="artical.perPeriodicalId" id="periodicalId" />
						</td>
					</tr>
					<tr>
						
					</tr>
					<tr>
						<td>标题：&nbsp;&nbsp;&nbsp;&nbsp;<span id="articalTitleMsg" class="periodicalWarning">文章标题不能为空</span><br />
							<input type="text" id="articalTitle" onblur="chiefVali('articalTitle')" name="artical.title" style="width:660px;" />
						</td>
					</tr>
					<tr>
						<td>英文摘要：<span id="enAbstractMsg" class="periodicalWarning">英文摘要不能为空</span><br /> 
							<textarea id="enAbstract" onblur="chiefVali('enAbstract')" name="artical.enAbstract" style="width:660px; height:90px; font-size:13px;"></textarea>
						</td>
					</tr>
					<tr>
						<td>中文摘要：<span id="cnAbstractMsg" class="periodicalWarning">中文摘要不能为空</span><br /> 
							<textarea id="cnAbstract" onblur="chiefVali('cnAbstract')" name="artical.cnAbstract" style="width:660px; height:90px; font-size:13px;"></textarea>
						</td>
					</tr>
					<tr>
						<td>关键字：&nbsp;&nbsp;<span id="keywordsMsg" class="periodicalWarning">关键字不能为空</span><br />
							<input type="text" id="keywords" onblur="chiefVali('keywords')" onclick="commentContent()" class="commentContent_1" name="artical.keywords" value="说明：关键字之间请用空格隔开" style="width:660px; font-size:13px;" />
						</td>
					</tr>
					<tr>
						<td>内容：&nbsp;&nbsp;&nbsp;&nbsp;<span id="editorMsg" class="periodicalWarning">文章内容不能为空</span><br />
							<textarea onblur="chiefVali('editor')" name="artical.content" id="editor" type="text/plain" style="font-size:13px;"></textarea>
						</td>
					</tr>
					<tr>
						<td>参考文献：<span id="refDocMsg" class="periodicalWarning">参考文献不能为空</span><br />
							<textarea id="refDoc" onblur="chiefVali('refDoc')" name="artical.refDoc" style="width:650px; height:110px; font-size:13px;"></textarea>
							<%-- <input type="text" name="artical.refDoc" value="说明：参考文献之间请用空格隔开" style="width:660px;" /> --%>
						</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>
							<input id="articalSubmit" type="button" onclick="articalSubForm()" value="确定" class="inputStyle" style="margin-left:260px;" />&nbsp;&nbsp;&nbsp; 
							<input type="reset" value="取消" class="inputStyle" />
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
<script type="text/javascript">
    //实例化编辑器
    var ue = UE.getEditor('editor');

    ue.addListener('ready',function(){
        this.focus();
    });

</script>
</html>

